package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 印章领取归还记录表
 * 
 * @author Administrator
 *
 */
@Entity
public class t_seal_user implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;
	private String bank_id;

	private String seal_id;// 印章
	private String use_user_id;// 正在使用的柜员

	private Timestamp time_get;// 领取时间
	private Timestamp time_back;// 归还时间

	private String flag;// 使用状态:已领取 or 使用中 or 已归还

	private String user_id;// 录入人员
	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getBank_id() {
		return bank_id;
	}

	public void setBank_id(String bank_id) {
		this.bank_id = bank_id;
	}

	public String getSeal_id() {
		return seal_id;
	}

	public void setSeal_id(String seal_id) {
		this.seal_id = seal_id;
	}

	public String getUse_user_id() {
		return use_user_id;
	}

	public void setUse_user_id(String use_user_id) {
		this.use_user_id = use_user_id;
	}

	public Timestamp getTime_get() {
		return time_get;
	}

	public void setTime_get(Timestamp time_get) {
		this.time_get = time_get;
	}

	public Timestamp getTime_back() {
		return time_back;
	}

	public void setTime_back(Timestamp time_back) {
		this.time_back = time_back;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
